package org.icress.fusion.admin

import java.util.Date;

class Profile {
    
    String name
    Date dateCreated
    Date lastUpdated

    
    static constraints = {
        name(maxSize:20, nullable:false, blank:false, unique : true)
    }
    
    String toString() {
        return "$name"
    }
    
    static mapping = {
        table 'ADMIN_PROFILE'
    }
}